package com.backend_pay.service;

import com.backend_pay.dao.TypePayoutDao;
import com.backend_pay.entity.TypeIncome;
import com.backend_pay.entity.TypePayout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service //业务层
public class TypePayoutService {
    @Autowired
    TypePayoutDao typePayoutDao;

    public List<TypePayout> findAllType(){
        return typePayoutDao.findAll();
    }
}
